属性编辑器是FreeCAD最重要的工具之一,也是FreeCAD使用的主要元素。 属性编辑器允许管理文档中对象的属性。
The Property editor appears in the lower section of the Model panel (if the Combo view is active) or as a stand-alone panel called Property view.
通常,属性编辑器一次只处理一个对象。属性编辑器中显示的值属于活动文档的活动对象(如果您处理多个文档,请注意哪个文档是真正活动文档)。如果您没有选择任何元素(或没有元素),则属性编辑器将为空。
并不是所有的属性都可以随时修改。根据具体状态,某些属性将显示为只读。
The Data properties of a Part Box
一个属性是一条信息,如一个数字或文本字符串,附加到一个FreeCAD文档或文档中的一个对象。可以使用属性编辑器修改属性,如果允许的话。
A property is a piece of information like a number or a text string that is attached to a FreeCAD document or an object in the document. Many property types are available. Some of the most common types are:
App::PropertyAngle
App::PropertyBool
App::PropertyDistance
App::PropertyFloat
App::PropertyInteger
App::PropertyLength
App::PropertyPlacement
App::PropertyString
App::PropertyVector
有两种功能属性类型,可通过属性编辑器下方的选项卡来访问:
Different objects may have different properties. However, many objects have the same properties because they are derived from the same internal class.
Most geometrical objects that can be created and displayed in the 3D view are derived from a Part::Feature
. See Part Feature for the basic properties these objects have.
For 2D geometry, most objects are derived from a Part::Part2DObject
(itself derived from a Part::Feature
) which is the base of Sketches, and most Draft objects. See Part Part2DObject for the basic properties these objects have.
To display the context menu of the Property editor right-click the background of the editor, or right-click a property.
Right-clicking the background shows three options:
When right-clicking a property the following additional options are available:
Tracking
or Enabled
for this to work. This is related to Variant Links.See FeaturePython Custom Properties.
See Combo view.